import request from "./request";


//查询登录信息
export async function getLog (param,params) {
  return await request({
    url: '/log/'+params.userId+"/"+param.current+"/"+param.size,
    method: 'get',
    headers: {
      'Content-Type': 'application/json',
      'token': params.token 
    }
  })
}

//删除登录信息
export async function deleteLog (params) {
  return await request({
    url: '/log/user/'+params.userId,
    method: 'delete',
    headers: {
      'Content-Type': 'application/json',
      'token': params.token 
    }
  })
}
